package xyz.yuanjilu.service;

import xyz.yuanjilu.entity.AntWebSiteEntity;
import xyz.yuanjilu.entity.WebSiteEntity;

import java.util.List;
import java.util.Map;

/**
 * 爬虫和站点关系表
 * 
 * @author CHENJUNFEI
 * @email kkomge@qq.com
 * @date 2017-07-20 15:08:50
 */
public interface AntWebSiteService {
	
	AntWebSiteEntity queryObject(Long id);
	
	WebSiteEntity getWebSiteEntity(String antBeanId);
	
	List<AntWebSiteEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(AntWebSiteEntity antWebSite);
	
	void update(AntWebSiteEntity antWebSite);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);
	
	void deleteBatchByAntBeanIds(String[] AntBeanIds);
}
